package com.bean;

/**
 * @author Cc
 * 2024-03-29
 */
public class Cat extends Animal implements Docile {
    private String name;

    public Cat() {
    }

    public Cat(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void call() {
        System.out.println("喵喵喵");
    }
}
